from django.urls import re_path
from .views import *
urlpatterns = [

    # 订单
    re_path(r'api/v1.0/orders$', OrdersAction.as_view()),

    # 接单/拒单
    re_path(r'api/v1.0/orders/(?P<order_id>\d+)/status$', OrdersAction.as_view()),

    # 评价
    re_path(r'api/v1.0/orders/(?P<order_id>\d+)/comment$', Comment.as_view()),

]